package com.sgs.studentssm.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.sgs.common.annotation.Excel;
import com.sgs.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 学生个人资料对象 stu_data
 *
 * @author ruoyi
 * @date 2022-10-03
 */
public class StuData extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 真实姓名 */
    @Excel(name = "真实姓名")
    private String stuName;

    /** 学号 */
    @Excel(name = "学号")
    private String stuNumber;

    /** 入学时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "入学时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date stuBegintime;

    /** 专业班级 */
    @Excel(name = "专业班级")
    private String stuClass;

    /** 身份证号 */
    @Excel(name = "身份证号")
    private Long stuIdnumber;

    /** 家庭住址 */
    @Excel(name = "家庭住址")
    private String stuHome;

    /** 微信号 */
    @Excel(name = "微信号")
    private Long stuWechar;

    /** QQ账号 */
    @Excel(name = "QQ账号")
    private Long stuQq;

    /** 证件照地址 */
    @Excel(name = "证件照地址")
    private String stuPhoto;

    /** 身份证照片正面 */
    @Excel(name = "身份证照片正面")
    private String stuIdphoto1;

    /** 身份证照片反面 */
    @Excel(name = "身份证照片反面")
    private String stuIdphoto2;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setStuName(String stuName)
    {
        this.stuName = stuName;
    }

    public String getStuName()
    {
        return stuName;
    }
    public void setStuNumber(String stuNumber)
    {
        this.stuNumber = stuNumber;
    }

    public String getStuNumber()
    {
        return stuNumber;
    }
    public void setStuBegintime(Date stuBegintime)
    {
        this.stuBegintime = stuBegintime;
    }

    public Date getStuBegintime()
    {
        return stuBegintime;
    }
    public void setStuClass(String stuClass)
    {
        this.stuClass = stuClass;
    }

    public String getStuClass()
    {
        return stuClass;
    }
    public void setStuIdnumber(Long stuIdnumber)
    {
        this.stuIdnumber = stuIdnumber;
    }

    public Long getStuIdnumber()
    {
        return stuIdnumber;
    }
    public void setStuHome(String stuHome)
    {
        this.stuHome = stuHome;
    }

    public String getStuHome()
    {
        return stuHome;
    }
    public void setStuWechar(Long stuWechar)
    {
        this.stuWechar = stuWechar;
    }

    public Long getStuWechar()
    {
        return stuWechar;
    }
    public void setStuQq(Long stuQq)
    {
        this.stuQq = stuQq;
    }

    public Long getStuQq()
    {
        return stuQq;
    }
    public void setStuPhoto(String stuPhoto)
    {
        this.stuPhoto = stuPhoto;
    }

    public String getStuPhoto()
    {
        return stuPhoto;
    }
    public void setStuIdphoto1(String stuIdphoto1)
    {
        this.stuIdphoto1 = stuIdphoto1;
    }

    public String getStuIdphoto1()
    {
        return stuIdphoto1;
    }
    public void setStuIdphoto2(String stuIdphoto2)
    {
        this.stuIdphoto2 = stuIdphoto2;
    }

    public String getStuIdphoto2()
    {
        return stuIdphoto2;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("stuName", getStuName())
            .append("stuNumber", getStuNumber())
            .append("stuBegintime", getStuBegintime())
            .append("stuClass", getStuClass())
            .append("stuIdnumber", getStuIdnumber())
            .append("stuHome", getStuHome())
            .append("stuWechar", getStuWechar())
            .append("stuQq", getStuQq())
            .append("stuPhoto", getStuPhoto())
            .append("stuIdphoto1", getStuIdphoto1())
            .append("stuIdphoto2", getStuIdphoto2())
            .toString();
    }
}
